package com.aoxin.model.opm;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 员工
 * 
 * @author Melody
 * @date 2018年3月26日 下午8:01:44
 */
public class SlfEmployee implements Serializable {

	private static final long serialVersionUID = -2158646632745483467L;

	/**
	 * 员工ID
	 */
	private Integer employeeId;
	/**
	 * 组织结构编码
	 */
	private Integer orgId;
	/**
	 * 组织机构名称
	 */
	private String orgName;
	
	/**
	 * 员工名称
	 */
	private String name;
	/**
	 * 员工联系电话
	 */
	private String phone;
	/**
	 * 员工登陆账号
	 */
	private String loginAccount;
	/**
	 * 员工邮箱
	 */
	private String email;
	/**
	 * 员工职位描述
	 */
	private String jobDescription;
	/**
	 * 员工登录密码
	 */
	@JsonIgnore
	private String loginPsd;
	/**
	 * 员工入职时间
	 */
	private Date inJobDate;
	/**
	 * 员工离职时间
	 */
	private Date outJobDate;
	/**
	 * 员工头像
	 */
	private String headPortrait;
	/**
	 * 状态
	 */
	private Integer state;
	/**
	 * 学校编码
	 */
	private Integer schoolId;
	/**
	 * 员工所属学校名称
	 */
	private String schoolName;
	/**
	 * 员工个人描述
	 */
	private String personDescription;
	/**
	 * 排序号
	 */
	private Integer sequence;
	/**
	 * 创建时间
	 */
	private Date createDate;
	/**
	 * 令牌
	 */
	private String token;
	/**
	 * 二维码
	 */
	private String qrCode;
	/**
	 * 角色
	 */
	private String role;
	
	private Integer roleId;
	private String roleName;
	
	
	

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Integer getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(Integer employeeId) {
		this.employeeId = employeeId;
	}

	public Integer getOrgId() {
		return orgId;
	}

	public void setOrgId(Integer orgId) {
		this.orgId = orgId;
	}

	public String getName() {
		return name;
	}
	

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone == null ? null : phone.trim();
	}

	public String getLoginAccount() {
		return loginAccount;
	}

	public void setLoginAccount(String loginAccount) {
		this.loginAccount = loginAccount == null ? null : loginAccount.trim();
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email == null ? null : email.trim();
	}

	public String getJobDescription() {
		return jobDescription;
	}

	public void setJobDescription(String jobDescription) {
		this.jobDescription = jobDescription == null ? null : jobDescription.trim();
	}

	public String getLoginPsd() {
		return loginPsd;
	}

	public void setLoginPsd(String loginPsd) {
		this.loginPsd = loginPsd == null ? null : loginPsd.trim();
	}

	public Date getInJobDate() {
		return inJobDate;
	}

	public void setInJobDate(Date inJobDate) {
		this.inJobDate = inJobDate;
	}

	public Date getOutJobDate() {
		return outJobDate;
	}

	public void setOutJobDate(Date outJobDate) {
		this.outJobDate = outJobDate;
	}

	public String getHeadPortrait() {
		return headPortrait;
	}

	public void setHeadPortrait(String headPortrait) {
		this.headPortrait = headPortrait == null ? null : headPortrait.trim();
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(Integer schoolId) {
		this.schoolId = schoolId;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName == null ? null : schoolName.trim();
	}

	public String getPersonDescription() {
		return personDescription;
	}

	public void setPersonDescription(String personDescription) {
		this.personDescription = personDescription == null ? null : personDescription.trim();
	}

	public Integer getSequence() {
		return sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getQrCode() {
		return qrCode;
	}

	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}
}